import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import NProgress from 'nprogress';
import goTop from ''
import 'nprogress/nprogress.css';
import 'normalize.css/normalize.css';
import '@/assets/iconfont.css';
import animated from 'animate.css';
Vue.use(animated) 
NProgress.configure({ showSpinner: false });
Vue.config.productionTip = false
router.beforeEach((to,from,next)=>{
  NProgress.start();
  next();
})
router.afterEach(() => {
  // finish progress bar
  NProgress.done()
})
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
